<?php include load_tpl('header');?>
<p id="breadcrumbs">
    <a href="/">首页</a> <b>»</b> 
    <span>添加相册</span>
</p>

<div class="box">
  <div class="left"></div>
  <div class="right"></div>
  <div class="heading">
    <h1 style="background-image: url('./images/shipping.png');">添加相册</h1>
  </div>
  <div class="content">
   <form id="form" enctype="multipart/form-data" method="post" action="">
      <table class="form">
        <tbody>
		<tr>
          <td align="left"><span class="required">*</span>相册名称:</td>
          <td align="left"><input size="60" value="<?php if(isset($album['name'])) echo $album['name'];?>" name="name" type="text">
          </td>
        </tr>
        <tr>
          <td align="left">相册描述:</td>
          <td align="left">
		  <textarea  id="desc" name="desc" cols="58" rows="5"><?php if(isset($album['description'])) echo $album['description'];?></textarea>
		  <input type="hidden" name="album_id" value="<?php if(isset($album['id'])) echo $album['id'];?>">
           </td>
        </tr>
		<tr>
		<td align="right"> <a class="button" onclick="$('#form').submit();"><span>保存</span></a></td><td align="left"><a class="button" onclick="location='index.php?mod=brand&act=list'"><span>取消</span></a>
		</td>
		</tr>
      </tbody>
	  </table>
    </form>
  </div>
</div>

<?php include load_tpl('footer');?>
<script type="text/javascript">
</script>